<?php
function tasktypes() {
	return array('index'=>'生成首页');
}
function tasktype($tasktype) {
	$arr= array('index'=>'生成首页');
	return $arr[$tasktype];
}
function seltasktypes($taskid) {
$tasks_db = pc_base::load_model('tasks_model');
$rs = $tasks_db->get_one(array('taskid'=>$taskid),'tasktype');
$arr= array('index'=>'生成首页');
return $arr[$rs['tasktype']];
}
?>